package keepy.tech.maven.assistant;

import lombok.Data;

@Data
public class Dependency {

    private String groupId;
    private String artifactId;
    private String version;


    public String urlJarPresentation() {
        return urlPresentation() + "/" + artifactId + "-" + version + ".jar";
    }

    public String urlPresentation() {
        return groupId.replace('.', '/') + "/" + artifactId + "/" + version;
    }
}
